﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

[assembly: System.Web.PreApplicationStartMethod(typeof(Kooboo.CMS.CustomSettingSyncWrapper.AssemblyInitializer), "Initialize")]
namespace Kooboo.CMS.CustomSettingSyncWrapper
{
    using System.Web.Mvc;

    public static class AssemblyInitializer
    {
        public static void Initialize()
        {
            ApplicationInitialization.RegisterInitializerMethod(
                () =>
                {
                    GlobalFilters.Filters.Add(new SiteSettingsActionAttribute());
                },
                100
            );
        }
    }
}
